//
//  JOEditViewController.h
//  私人通讯录
//
//  Created by song on 15/1/23.
//  Copyright (c) 2015年 song. All rights reserved.
//

#import <UIKit/UIKit.h>

@class JOContects;

@protocol JOEditViewControllerDelegate <NSObject>

@optional
-(void)EditViewControllerWithContect:(JOContects *)contect;

@end


@interface JOEditViewController : UIViewController

@property(nonatomic ,strong) JOContects *contect;

@property (weak, nonatomic) IBOutlet UITextField *nameField;

@property (weak, nonatomic) IBOutlet UITextField *telField;

@property (weak, nonatomic) IBOutlet UIButton *savebtn;

@property(weak ,nonatomic) id<JOEditViewControllerDelegate> delegate;


- (IBAction)saveclick:(id)sender;

- (IBAction)editclick:(id)sender;


@end
